package com.maistars.spider.service.template;

import com.maistars.spider.service.domain.rule.FieldRule;
import com.maistars.spider.service.domain.rule.PageRule;
import com.maistars.spider.service.domain.task.CrawlerTask;
import lombok.Data;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author dhr
 * @date 2021/10/10 下午8:22
 */
@Data
public class TaskTemplateResult {

    private CrawlerTask crawlerTask;

    private List<PageRule> pageRules = new ArrayList<>();

    private Map<PageRule, List<FieldRule>> fieldRules = new HashMap<>();

}
